package com.dotflat.docs.repository;

import com.dotflat.docs.domain.Document;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

@Repository
public interface DocumentRepository extends JpaRepository<Document, String>, JpaSpecificationExecutor<Document> {

    Long countByAreaIdAndDirTypeAndDirIdAndDeletedIsFalse(String areaId,Integer dirType,String airId);
}
